﻿Imports System
Imports System.Collections.Generic
Imports System.Text
Namespace KHDTO
    Public Class Cinforkhachhang
        Private _nhanvienid As String = String.Empty
        Private _nhanvienname As String = String.Empty
        Private _indentitycard As String = String.Empty
        Private _birthday As DateTime = DateTime.Today
        Private _phonenumber As String = String.Empty
        Private _email As String = String.Empty
        Private _password As String = String.Empty
        Private _address As String = String.Empty
#Region "constructor"
        Public Sub New()

        End Sub
        Public Sub New(ByVal address As String, ByVal nvid As String, ByVal nvname As String, ByVal idcard As String, ByVal birthday As DateTime, ByVal phonenumber As String, ByVal email As String, ByVal password As String)
            Me._nhanvienid = nvid
            Me._nhanvienname = nvname
            Me._indentitycard = idcard
            Me._birthday = birthday
            Me._phonenumber = phonenumber
            Me._password = password
            Me._email = email
            Me._address = address
        End Sub
#End Region

#Region "properties"

        Public Property nhanvienid() As String
            Get
                Return Me._nhanvienid
            End Get
            Set(ByVal value As String)
                Me._nhanvienid = value
            End Set
        End Property
        Public Property nhanvienname() As String
            Get
                Return Me._nhanvienname
            End Get
            Set(ByVal value As String)
                Me._nhanvienname = value
            End Set
        End Property
        Public Property indentitycard() As String
            Get
                Return Me._indentitycard
            End Get
            Set(ByVal value As String)
                Me._indentitycard = value
            End Set
        End Property
        Public Property birthday() As DateTime
            Get
                Return Me._birthday
            End Get
            Set(ByVal value As DateTime)
                Me._birthday = value
            End Set
        End Property
        Public Property phonenumber() As String
            Get
                Return Me._phonenumber
            End Get
            Set(ByVal value As String)
                Me._phonenumber = value
            End Set
        End Property
        Public Property email() As String
            Get
                Return Me._email
            End Get
            Set(ByVal value As String)
                Me._email = value
            End Set
        End Property
        Public Property password() As String
            Get
                Return Me._password
            End Get
            Set(ByVal value As String)
                Me._password = value
            End Set
        End Property
#End Region

    End Class
End Namespace



